﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hopscotch.Domain.Common
{
    public interface IEntityCollection<T, TKey> : ICollection<T>
        where T : DomainBase<TKey>
        where TKey : struct
    {
        void Merge(T item);

        void Remove(TKey key);
        //void RemoveAsync(TKey key);
    }
}
